package com.hall.items.ctrl.vo;

import com.hall.items.aggr.MyWeaponArchive;

public class MyWeaponArchiveGMVO {

	private int id;

	private String code;

	private String equipTypeCode;

	public MyWeaponArchiveGMVO(MyWeaponArchive archive) {
		id = (int) archive.getId();
		code = archive.getCode();
		equipTypeCode = archive.getEquipType().getCode();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getEquipTypeCode() {
		return equipTypeCode;
	}

	public void setEquipTypeCode(String equipTypeCode) {
		this.equipTypeCode = equipTypeCode;
	}

}
